package com.ruoyi.inventory.domain.dto;

import java.math.BigDecimal;

/**
 * 盘点明细DTO
 * 
 * @author ruoyi
 * @date 2025-09-28
 */
public class InventoryItemDTO 
{
    /** 主键 */
    private Long id;

    /** 盘点任务ID */
    private Long sessionId;

    /** 备件编号 */
    private String partNo;

    /** 备件名称 */
    private String partName;

    /** 规格型号 */
    private String specNo;

    /** 备件类型编码 */
    private String partTypeCode;

    /** 理论库存 */
    private BigDecimal theoreticalQty;

    /** 实盘数量 */
    private BigDecimal actualQty;

    /** 差异数量 */
    private BigDecimal diffQty;

    /** 盘盈数量 */
    private BigDecimal surplusQty;

    /** 盘亏数量 */
    private BigDecimal lossQty;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSessionId() {
        return sessionId;
    }

    public void setSessionId(Long sessionId) {
        this.sessionId = sessionId;
    }

    public String getPartNo() {
        return partNo;
    }

    public void setPartNo(String partNo) {
        this.partNo = partNo;
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getSpecNo() {
        return specNo;
    }

    public void setSpecNo(String specNo) {
        this.specNo = specNo;
    }

    public String getPartTypeCode() {
        return partTypeCode;
    }

    public void setPartTypeCode(String partTypeCode) {
        this.partTypeCode = partTypeCode;
    }

    public BigDecimal getTheoreticalQty() {
        return theoreticalQty;
    }

    public void setTheoreticalQty(BigDecimal theoreticalQty) {
        this.theoreticalQty = theoreticalQty;
    }

    public BigDecimal getActualQty() {
        return actualQty;
    }

    public void setActualQty(BigDecimal actualQty) {
        this.actualQty = actualQty;
    }

    public BigDecimal getDiffQty() {
        return diffQty;
    }

    public void setDiffQty(BigDecimal diffQty) {
        this.diffQty = diffQty;
    }

    public BigDecimal getSurplusQty() {
        return surplusQty;
    }

    public void setSurplusQty(BigDecimal surplusQty) {
        this.surplusQty = surplusQty;
    }

    public BigDecimal getLossQty() {
        return lossQty;
    }

    public void setLossQty(BigDecimal lossQty) {
        this.lossQty = lossQty;
    }
}
